<?php
/**
 * Created by PhpStorm.
 * User: dolia
 * Date: 15/12/3
 * Time: 下午4:46
 */

namespace App\Interfaces;

interface SmsService
{

    /**
     * 发送注册验证码: 尊敬的用户，您的验证码是：#${数字,4-10位}#$，#${文本,4位}#$欢迎您的注册
     * @param $phone
     * @param $code
     * @return mixed
     */
    public function sendRegMsg($phone);

    public function sendMassMsg($phone_content);

    public function getPhoneByObject($object);

    public function validateRegCode($message_code_id,$code);

}